function Button({ info, setCount }: { info: string; setCount: React.FC }) {
  return (
    <button
      className="mx-auto flex max-w-sm items-center gap-x-4 rounded-xl bg-white p-6 shadow-lg outline outline-black/5 dark:bg-slate-800 dark:shadow-none dark:-outline-offset-1 dark:outline-white/10;"
      onClick={() => setCount(count + 1)}
    >
      {info}
    </button>
  );
}
export default Button;
